package com.ruoyi.vim.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 欢迎语配置对象 im_welcome_word
 *
 * @author wgp
 * @since 2022-12-10
 */
@Data
public class ImWelcomeWord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 欢迎语
     */
    @Excel(name = "欢迎语")
    private String welcomeWord;

    /**
     * 状态(0禁用,1启用)
     */
    @Excel(name = "状态(0禁用,1启用)")
    private String status;

    /**
     * 状态(0禁用,1启用)
     */
    @Excel(name = "是否默认(0否,1是)")
    private String isDefault;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("welcomeWord", getWelcomeWord())
                .append("status", getStatus())
                .append("isDefault", getIsDefault())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
